import request from '@/utils/request'

// 查询学生表4列表
export function listStudents4(query) {
  return request({
    url: '/system/students4/list',
    method: 'get',
    params: query
  })
}

// 查询学生表4详细
export function getStudents4(studentId) {
  return request({
    url: '/system/students4/' + studentId,
    method: 'get'
  })
}

// 新增学生表4
export function addStudents4(data) {
  return request({
    url: '/system/students4',
    method: 'post',
    data: data
  })
}

// 修改学生表4
export function updateStudents4(data) {
  return request({
    url: '/system/students4',
    method: 'put',
    data: data
  })
}

// 删除学生表4
export function delStudents4(studentId) {
  return request({
    url: '/system/students4/' + studentId,
    method: 'delete'
  })
}
